package com.bjwl.pojo;

import org.springframework.format.annotation.DateTimeFormat;
import org.springframework.stereotype.Component;

import java.io.Serializable;
import java.util.Date;

/**
 * @Author: dzx
 * @Date:Create：in 2020/4/10 8:45
 * @Description:    员工实体类
 * @Modified By：
 * @Version: 1.0
 */
@Component
public class Staff implements Serializable {

    private Integer sid;    //员工主键
    private Integer card;    //员工工号
    private String  staffname;
    private String sex;    //性别
    private String state;    //状态
    private Integer age;    //年龄
    private String professionalskills;    //专业技能
    private String natives;    //籍贯
    private String education;    //学历
    private String post;    //岗位
    private String ungf; //毕业院校
    private String tel;  //电话
    private String sfzh;   //身份账号
    private Float bp;    //基本月薪
    @DateTimeFormat(pattern="yyyy-MM-dd")
    private Date doe; //入职日期
    private String slogo;   //logo
    private String sremark;   //备注
    private String saddress;    //现住地址
    private Integer bssign; //分店外键
    private Float nhourse;//保姆小时数

    private BranchStore branchStore;

    public Float getNhourse() {
        return nhourse;
    }

    public void setNhourse(Float nhourse) {
        this.nhourse = nhourse;
    }

    public Integer getSid() {
        return sid;
    }

    public void setSid(Integer sid) {
        this.sid = sid;
    }

    public Integer getCard() {
        return card;
    }

    public void setCard(Integer card) {
        this.card = card;
    }

    public String getStaffname() {
        return staffname;
    }

    public void setStaffname(String staffname) {
        this.staffname = staffname;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public String getState() {
        return state;
    }

    public void setState(String state) {
        this.state = state;
    }

    public Integer getAge() {
        return age;
    }

    public void setAge(Integer age) {
        this.age = age;
    }

    public String getProfessionalskills() {
        return professionalskills;
    }

    public void setProfessionalskills(String professionalskills) {
        this.professionalskills = professionalskills;
    }

    public String getNatives() {
        return natives;
    }

    public void setNatives(String natives) {
        this.natives = natives;
    }

    public String getEducation() {
        return education;
    }

    public void setEducation(String education) {
        this.education = education;
    }

    public String getPost() {
        return post;
    }

    public void setPost(String post) {
        this.post = post;
    }

    public String getUngf() {
        return ungf;
    }

    public void setUngf(String ungf) {
        this.ungf = ungf;
    }

    public String getTel() {
        return tel;
    }

    public void setTel(String tel) {
        this.tel = tel;
    }

    public String getSfzh() {
        return sfzh;
    }

    public void setSfzh(String sfzh) {
        this.sfzh = sfzh;
    }

    public Float getBp() {
        return bp;
    }

    public void setBp(Float bp) {
        this.bp = bp;
    }

    public Date getDoe() {
        return doe;
    }

    public void setDoe(Date doe) {
        this.doe = doe;
    }

    public String getSlogo() {
        return slogo;
    }

    public void setSlogo(String slogo) {
        this.slogo = slogo;
    }

    public String getSremark() {
        return sremark;
    }

    public void setSremark(String sremark) {
        this.sremark = sremark;
    }

    public String getSaddress() {
        return saddress;
    }

    public void setSaddress(String saddress) {
        this.saddress = saddress;
    }

    public Integer getBssign() {
        return bssign;
    }

    public void setBssign(Integer bssign) {
        this.bssign = bssign;
    }

    public BranchStore getBranchStore() {
        return branchStore;
    }

    public void setBranchStore(BranchStore branchStore) {
        this.branchStore = branchStore;
    }
}
